package it.aekidna.cleverplatypus.workflow.template
{
	import it.aekidna.cleverplatypus.workflow.AbstractWorkflowTask;
	import it.aekidna.cleverplatypus.workflow.WorkflowEvent;

	[Event(
		name="execute",
		type="it.aekidna.cleverplatypus.workflow.WorkflowEvent")]
	
	public class ExecuteCodeTask extends AbstractWorkflowTask
	{
		public static const EXECUTE : String = "execute";
		
		override public function begin() : void
		{
			dispatchEvent( new WorkflowEvent( EXECUTE ) );
			complete();
		}		
	}
}